/**
 * Copyright &copy; 2012-2016 <a href="https://git.oschina.net/zdw2016/webbase5">Webbase</a> All rights reserved.
 */
package com.foreveross.webbase.projectdemo.entity;

import org.hibernate.validator.constraints.Length;

import com.foreveross.webbase.common.persistence.DataEntity;

/**
 * 申请表和类型之间关联表Entity
 * @author yangwanli
 * @version 2017-03-21
 */
public class PPt extends DataEntity<PPt> {
	
	private static final long serialVersionUID = 1L;
	private String typeid;		// typeid
	private String projectid;		// projectid
	
	public PPt() {
		super();
	}

	public PPt(String id){
		super(id);
	}

	@Length(min=0, max=64, message="typeid长度必须介于 0 和 64 之间")
	public String getTypeid() {
		return typeid;
	}

	public void setTypeid(String typeid) {
		this.typeid = typeid;
	}
	
	@Length(min=0, max=64, message="projectid长度必须介于 0 和 64 之间")
	public String getProjectid() {
		return projectid;
	}

	public void setProjectid(String projectid) {
		this.projectid = projectid;
	}
	
}